package com.etd.base.domain.impl;

import javax.persistence.Column;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler"})
public class BaseUplinkDomain extends BaseDomain {
	
	
	
	/*
	 * 上级关联业务编码
	 */
	@Column
	protected Long uplinkid;
	
	/*
	 * 上级关联业务名称
	 */
	@Column
	protected String uplinkName;
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseUplinkDomainInf#setUplinkid(java.lang.Long)
	 */
	public void setUplinkid(Long _uplinkid){
		
		this.uplinkid = _uplinkid;
	}
	
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseUplinkDomainInf#getUplinkid()
	 */
	public Long getUplinkid(){
		return uplinkid==null ? null :uplinkid;
	}

		
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseUplinkDomainInf#getUplinkName()
	 */
	public String getUplinkName(){
		return uplinkName;
	}
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseUplinkDomainInf#setUplinkName(java.lang.String)
	 */
	public void setUplinkName(String _name){
		this.uplinkName = _name;
	}
	
	

}
